/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import ejemploadicionararboles.GUIEditarPersona;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;


/**
 *
 * @author DANIELA SANA
 */
public class EditarPersona extends Application {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        launch(args);
    }
    
    @Override
    public void start(Stage primaryStage) {
        primaryStage.setTitle("Hello World!");
        
        Group root = new Group();
         Node n =  (new GUIEditarPersona()).contruirGUI(null);
        
         root.getChildren().add(n);
         Scene scene = new Scene(root,500,300);
         primaryStage.setScene(scene);
        primaryStage.show();
    }
}
